<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Binh
 * Date: 12/18/13
 * Time: 1:42 AM
 * To change this template use File | Settings | File Templates.
 */
?>

<!DOCTYPE html>
<html>
<head>
    <?php echo $head; ?>
</head>
<body>
    <div id="wrapper">
        <div id="header">

            <?php echo $header;?>

        </div>

        <div id="mainContent">
            <?php
                switch($site){
                    default:
                        echo $layout_home;
                        break;
                    case 'layout_play_song':
                        echo $layout_play_song;
                        break;
                    case 'layout_search':
                        echo $layout_search;
                        break;
                    case 'layout_list_song':
                        echo $layout_list_song;
                        break;
                    case 'layout_list_singer':
                        echo $layout_list_singer;
                        break;
                    case 'layout_top_song':
                        echo $layout_top_song;
                        break;
                    case 'layout_update_song':
                        echo $layout_update_song;
                        break;
                    case 'layout_singer':
                        echo $layout_singer;
                        break;
                }
            ?>
        </div><!--Kêt thúc main content-->

        <div id="footer">

            <?php echo $footer;?>

        </div><!--Kết thú footer-->
    </div><!--Kêt thúc wrapper-->
</body>
</html>